Optimal. Leaf size=346 \[ \frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x^3}+\frac {b \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d^2 x}-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}+\frac {b c \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {d+e x^2} E\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 d^2 \sqrt {1+\frac {e x^2}{d}}}-\frac {2 b \left (c^2 d-3 e\right ) \left (c^2 d+e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1+\frac {e x^2}{d}} F\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 c d^2 \sqrt {d+e x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.28, antiderivative size = 346, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 11, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.478, Rules used = {277, 270,
6436, 12, 594, 597, 538, 437, 435, 432, 430} \begin {gather*} \frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}-\frac {2 b \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \left (c^2 d-3 e\right ) \left (c^2 d+e\right ) \sqrt {\frac {e x^2}{d}+1} F\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 c d^2 \sqrt {d+e x^2}}+\frac {b c \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \left (2 c^2 d-5 e\right ) \sqrt {d+e x^2} E\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 d^2 \sqrt {\frac {e x^2}{d}+1}}+\frac {b \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \sqrt {1-c^2 x^2} \left (2 c^2 d-5 e\right ) \sqrt {d+e x^2}}{9 d^2 x}+\frac {b \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 270
Rule 277
Rule 430
Rule 432
Rule 435
Rule 437
Rule 538
Rule 594
Rule 597
Rule 6436
Rubi steps
\begin {align*} \int \frac {a+b \text {sech}^{-1}(c x)}{x^4 \sqrt {d+e x^2}} \, dx &=-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}+\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {\sqrt {d+e x^2} \left (-d+2 e x^2\right )}{3 d^2 x^4 \sqrt {1-c^2 x^2}} \, dx\\ &=-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}+\frac {\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {\sqrt {d+e x^2} \left (-d+2 e x^2\right )}{x^4 \sqrt {1-c^2 x^2}} \, dx}{3 d^2}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x^3}-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}+\frac {\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {-d \left (2 c^2 d-5 e\right )-\left (c^2 d-6 e\right ) e x^2}{x^2 \sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \, dx}{9 d^2}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x^3}+\frac {b \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d^2 x}-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}-\frac {\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {d \left (c^2 d-6 e\right ) e-c^2 d \left (2 c^2 d-5 e\right ) e x^2}{\sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \, dx}{9 d^3}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x^3}+\frac {b \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d^2 x}-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}+\frac {\left (b c^2 \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {\sqrt {d+e x^2}}{\sqrt {1-c^2 x^2}} \, dx}{9 d^2}-\frac {\left (2 b \left (c^2 d-3 e\right ) \left (c^2 d+e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {1}{\sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \, dx}{9 d^2}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x^3}+\frac {b \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d^2 x}-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}+\frac {\left (b c^2 \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {d+e x^2}\right ) \int \frac {\sqrt {1+\frac {e x^2}{d}}}{\sqrt {1-c^2 x^2}} \, dx}{9 d^2 \sqrt {1+\frac {e x^2}{d}}}-\frac {\left (2 b \left (c^2 d-3 e\right ) \left (c^2 d+e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {1}{\sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}}} \, dx}{9 d^2 \sqrt {d+e x^2}}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x^3}+\frac {b \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d^2 x}-\frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d^2 x}+\frac {b c \left (2 c^2 d-5 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {d+e x^2} E\left (\sin ^{-1}(c x)|-\frac {e}{c^2 d}\right )}{9 d^2 \sqrt {1+\frac {e x^2}{d}}}-\frac {2 b \left (c^2 d-3 e\right ) \left (c^2 d+e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1+\frac {e x^2}{d}} F\left (\sin ^{-1}(c x)|-\frac {e}{c^2 d}\right )}{9 c d^2 \sqrt {d+e x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 22.61, size = 612, normalized size = 1.77 \begin {gather*} \frac {\frac {b d \sqrt {\frac {1-c x}{1+c x}} \left (d+e x^2\right )}{x^3}+\frac {b c d \sqrt {\frac {1-c x}{1+c x}} \left (d+e x^2\right )}{x^2}+\frac {b \left (2 c^2 d-5 e\right ) \sqrt {\frac {1-c x}{1+c x}} \left (d+e x^2\right )}{x}-\frac {3 a \left (d-2 e x^2\right ) \left (d+e x^2\right )}{x^3}-\frac {3 b \left (d-2 e x^2\right ) \left (d+e x^2\right ) \text {sech}^{-1}(c x)}{x^3}-\frac {b \sqrt {\frac {1-c x}{1+c x}} \sqrt {\frac {c \left (\sqrt {d}+i \sqrt {e} x\right )}{\left (c \sqrt {d}+i \sqrt {e}\right ) (1+c x)}} \left (i \sqrt {d}+\sqrt {e} x\right ) \left (\left (2 c^3 d^{3/2}-2 i c^2 d \sqrt {e}-5 c \sqrt {d} e+5 i e^{3/2}\right ) E\left (i \sinh ^{-1}\left (\sqrt {\frac {\left (c^2 d+e\right ) (1-c x)}{\left (c \sqrt {d}+i \sqrt {e}\right )^2 (1+c x)}}\right )|\frac {\left (c \sqrt {d}+i \sqrt {e}\right )^2}{\left (c \sqrt {d}-i \sqrt {e}\right )^2}\right )+2 \left (2 i c^2 d-c \sqrt {d} \sqrt {e}-6 i e\right ) \sqrt {e} F\left (i \sinh ^{-1}\left (\sqrt {\frac {\left (c^2 d+e\right ) (1-c x)}{\left (c \sqrt {d}+i \sqrt {e}\right )^2 (1+c x)}}\right )|\frac {\left (c \sqrt {d}+i \sqrt {e}\right )^2}{\left (c \sqrt {d}-i \sqrt {e}\right )^2}\right )\right )}{\sqrt {-\frac {\left (c \sqrt {d}-i \sqrt {e}\right ) (-1+c x)}{\left (c \sqrt {d}+i \sqrt {e}\right ) (1+c x)}} \sqrt {\frac {c \left (\sqrt {d}-i \sqrt {e} x\right )}{\left (c \sqrt {d}-i \sqrt {e}\right ) (1+c x)}}}}{9 d^2 \sqrt {d+e x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.48, size = 0, normalized size = 0.00 \[\int \frac {a +b \,\mathrm {arcsech}\left (c x \right )}{x^{4} \sqrt {e \,x^{2}+d}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {asech}{\left (c x \right )}}{x^{4} \sqrt {d + e x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )}{x^4\,\sqrt {e\,x^2+d}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________